package com.thinkit.bigdata.web.service.bus;

import com.thinkit.bigdata.web.model.bus.BusModelRule;
import com.thinkit.bigdata.web.model.bus.BusModelRuleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by hccl on 2018/9/10.
 * modify by lichangyuan on 2018年10月10日.
 */
public interface BusModelRuleService {

    int countByExample(BusModelRuleExample example);

    int deleteByExample(BusModelRuleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BusModelRule record);

    int insertSelective(BusModelRule record);

    List<BusModelRule> selectByExample(BusModelRuleExample example);

    List<BusModelRule> getRuleMesByModelId(Long modelId);

    BusModelRule selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BusModelRule record, @Param("example") BusModelRuleExample example);

    int updateByExample(@Param("record") BusModelRule record, @Param("example") BusModelRuleExample example);

    int updateByPrimaryKeySelective(BusModelRule record);

    int updateByPrimaryKey(BusModelRule record);

    void delete_offline_model_rule(List<Long> ruleIds);
}
